<template>
  <swiper :options="swiperOption" ref="mySwiper" class="swiper_container">
    <swiper-slide><img src="@/assets/img/category/1.jpg" alt=""></swiper-slide>
    <swiper-slide><img src="@/assets/img/category/2.jpg" alt=""></swiper-slide>
    <swiper-slide><img src="@/assets/img/category/3.jpg" alt=""></swiper-slide>
    <div class="swiper-pagination" slot="pagination"></div>
  </swiper>
</template>

<script>
import "swiper/dist/css/swiper.css";
import { swiper, swiperSlide } from "vue-awesome-swiper";
export default {
  name: "CateGory",
  components: {
    swiper,
    swiperSlide
  },
  data() {
    return {
      swiperOption: {
        pagination: {
          el: ".swiper-pagination"
        },
        autoplay: {
          delay: 2500,
          disableOnInteraction: false
        },
        loop: true
      }
    };
  }
};
</script>